package GUI;

import javax.swing.JPanel;
import javax.swing.JSeparator;
import javax.swing.JButton;
import java.awt.Font;
import javax.swing.JRadioButton;
import java.awt.Color;
import javax.swing.BorderFactory;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JComboBox;


public class PanelUsuario extends JPanel {
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextField textField_4;
	private JTextField textField_5;
	private JTextField textField_6;
	public PanelUsuario() {
		setBackground(new Color(135, 206, 235));
		setLayout(null);
		
		JSeparator separator = new JSeparator();
		separator.setBounds(23, 366, 473, 11);
		add(separator);
		
		JButton button = new JButton();
		button.setText("Aceptar");
		button.setFont(new Font("SansSerif", Font.PLAIN, 16));
		button.setBounds(227, 399, 135, 43);
		add(button);
		
		JButton button_1 = new JButton();
		button_1.setText("Cancelar");
		button_1.setFont(new Font("SansSerif", Font.PLAIN, 16));
		button_1.setBounds(361, 399, 135, 43);
		add(button_1);
		
		JRadioButton radioButton = new JRadioButton();
		radioButton.setText("Agregar Usuario");
		radioButton.setFont(new Font("SansSerif", Font.PLAIN, 14));
		radioButton.setBounds(17, 383, 142, 23);
		add(radioButton);
		
		JRadioButton radioButton_1 = new JRadioButton();
		radioButton_1.setText("Actualizar Datos");
		radioButton_1.setFont(new Font("SansSerif", Font.PLAIN, 14));
		radioButton_1.setBounds(17, 412, 136, 18);
		add(radioButton_1);
		
		JRadioButton radioButton_2 = new JRadioButton();
		radioButton_2.setBackground(new Color(64, 224, 208));
		radioButton_2.setText("Eliminar Usuario");
		radioButton_2.setFont(new Font("SansSerif", Font.PLAIN, 14));
		radioButton_2.setBounds(17, 430, 145, 24);
		add(radioButton_2);
		
		JPanel panel = new JPanel();
		panel.setLayout(null);
		panel.setBorder(BorderFactory.createTitledBorder(""));
		panel.setBounds(6, 6, 490, 351);
		add(panel);
		
		JLabel label = new JLabel();
		label.setText("Nombre");
		label.setFont(new Font("SansSerif", Font.PLAIN, 16));
		label.setBounds(15, 21, 64, 16);
		panel.add(label);
		
		textField = new JTextField();
		textField.setFont(new Font("SansSerif", Font.PLAIN, 16));
		textField.setBounds(160, 14, 230, 31);
		panel.add(textField);
		
		JLabel label_1 = new JLabel();
		label_1.setText("Apellidos");
		label_1.setFont(new Font("SansSerif", Font.PLAIN, 16));
		label_1.setBounds(15, 63, 70, 17);
		panel.add(label_1);
		
		textField_1 = new JTextField();
		textField_1.setFont(new Font("SansSerif", Font.PLAIN, 16));
		textField_1.setBounds(160, 56, 230, 31);
		panel.add(textField_1);
		
		JLabel label_2 = new JLabel();
		label_2.setText("Cedula");
		label_2.setFont(new Font("SansSerif", Font.PLAIN, 16));
		label_2.setBounds(15, 108, 56, 16);
		panel.add(label_2);
		
		textField_2 = new JTextField();
		textField_2.setFont(new Font("SansSerif", Font.PLAIN, 16));
		textField_2.setBounds(160, 93, 230, 31);
		panel.add(textField_2);
		
		textField_3 = new JTextField();
		textField_3.setFont(new Font("SansSerif", Font.PLAIN, 16));
		textField_3.setBounds(160, 133, 230, 31);
		panel.add(textField_3);
		
		JLabel label_3 = new JLabel();
		label_3.setText("Direccion de predio");
		label_3.setFont(new Font("SansSerif", Font.PLAIN, 16));
		label_3.setBounds(15, 136, 141, 25);
		panel.add(label_3);
		
		textField_4 = new JTextField();
		textField_4.setFont(new Font("SansSerif", Font.PLAIN, 16));
		textField_4.setBounds(160, 169, 230, 31);
		panel.add(textField_4);
		
		JLabel label_4 = new JLabel();
		label_4.setText("Direccion de entrega");
		label_4.setFont(new Font("SansSerif", Font.PLAIN, 16));
		label_4.setBounds(15, 178, 150, 20);
		panel.add(label_4);
		
		textField_5 = new JTextField();
		textField_5.setFont(new Font("SansSerif", Font.PLAIN, 16));
		textField_5.setBounds(160, 212, 230, 31);
		panel.add(textField_5);
		
		JLabel label_5 = new JLabel();
		label_5.setText("# Matricula");
		label_5.setFont(new Font("SansSerif", Font.PLAIN, 16));
		label_5.setBounds(15, 216, 85, 23);
		panel.add(label_5);
		
		JLabel label_6 = new JLabel();
		label_6.setText("# Medidor");
		label_6.setFont(new Font("SansSerif", Font.PLAIN, 16));
		label_6.setBounds(15, 251, 71, 23);
		panel.add(label_6);
		
		textField_6 = new JTextField();
		textField_6.setFont(new Font("SansSerif", Font.PLAIN, 16));
		textField_6.setBounds(160, 255, 230, 31);
		panel.add(textField_6);
		
		JComboBox comboBox = new JComboBox();
		comboBox.setFont(new Font("SansSerif", Font.PLAIN, 16));
		comboBox.setBounds(160, 292, 148, 31);
		panel.add(comboBox);
		
		JLabel label_7 = new JLabel();
		label_7.setText("Estrato");
		label_7.setFont(new Font("SansSerif", Font.PLAIN, 16));
		label_7.setBounds(15, 301, 63, 16);
		panel.add(label_7);
	}
}
